<template>
    <div class="app">
        <!-- 动态路由 keep-alive 缓存组件-->
        <router-view v-slot="{ Component }">
          <keep-alive include="home">
            <component :is="Component" />
          </keep-alive>
        </router-view>

        <tabbar></tabbar>
    </div>
</template>

<script setup>
// import { RouterView } from 'vue-router';
import tabbar from "./components/tabbar/tabbar.vue"

</script>


<style lang='less' scoped>

</style>